/** 素材管理服务 **/
const httpUtil = require('../utils/http.util.js')

/**
 * 申请管理员
 */
const canUpload = function (options) {
  httpUtil.get({
    url: options.app.globalData.apiServerUrl + "/user/canUpload?openId=" + options.openId + "&iv=" + options.iv + "&encryptedData=" + options.encryptedData,
    success: res => {
      if (options.success) {
        options.success(res);
      }
    }
  });
}

module.exports = {
  canUpload: canUpload
}